var urlprefix = '/autotest/main/menu/'
Ext.define('AutoTestApp.store.lists.Lists', {
    extend: 'Ext.data.TreeStore',
    model: 'AutoTestApp.model.List',
    proxy: {
        type: 'ajax',
        api: {
            create: urlprefix + 'create',
            read: urlprefix + 'read',
            update: urlprefix + 'update',
            destroy: urlprefix + 'destroy'
        },

        reader: {
            type: 'json',
            messageProperty: 'message'
        }
    },
	root : {
		name : '功能'
	}
});
